﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using MobileSales.Server.Services;

namespace MobileSales.Server.RestServices
{
    public class DocumentServiceREST : DocumentService, IDocumentServiceREST
    {
        public Model.Documents.Document GetDocument(string documentId)
        {
            return base.GetDocument(int.Parse(documentId));
        }

        public Model.Documents.PaymentMethod GetPaymentMethod(string paymentMethodId)
        {
            return base.GetPaymentMethod(int.Parse(paymentMethodId));
        }

        public Model.Documents.DocumentType GetDocumentType(string documentTypeId)
        {
            return base.GetDocumentType(int.Parse(documentTypeId));
        }
    }
}
